package com.shop.item.api;

import com.shop.item.pojo.Category;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author : Created by HGL on 2019/03/21 01:01
 * @version : 1.0
 * Description :
 */
@RequestMapping("category")
public interface CategoryApi {

    @GetMapping("/list/ids")
    List<Category> queryCategoryByIds(@RequestParam("ids")List<Long> ids);
}
